<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
                <script src="<?php echo base_url('public_source/javascript/jquery-1.9.1.js');?>" type="text/javascript"></script>
        <script src="<?php echo base_url('public_source/javascript/jquery-ui.js');?>" type="text/javascript"></script>
        <link href="<?php echo base_url('public_source/javascript/jquery-ui.css');?>" rel="stylesheet" type="text/css"/>
        <script src="<?php echo base_url('public_source/javascript/hotproduct_effect.js')?>" type="text/javascript"></script>
        <link href="<?php echo base_url('public_source/css_source/right_contend.css')?>" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <div ID="RightContend">
            <div ID="Support">
                <div ID="Support_Image">
                    <img src="<?php echo base_url("public_source/images_source/boxtitle.png");?>">
                    <div ID="Support_Title">
                        Hỗ trợ trực tuyến
                    </div>
                </div>
                <div ID="Support_Border">
                    <a href="ymsgr:sendim?the_death_dance_9999" mce_href="ymsgr:sendim?the_death_dance_9999" border="0">
                        <img src="http://opi.yahoo.com/online?u=the_death_dance_9999&t=11" mce_src="http://opi.yahoo.com/online?u=the_death_dance_9999&t=11">
                        <a href="ymsgr:sendim?the_death_dance_9999"><p>Hỗ trợ tư vấn tại Nha Trang</p></a>
                    </a>
                    <a href="ymsgr:sendim?the_death_dance_9999" mce_href="ymsgr:sendim?the_death_dance_9999" border="0">
                        <img src="http://opi.yahoo.com/online?u=the_death_dance_9999&t=11" mce_src="http://opi.yahoo.com/online?u=the_death_dance_9999&t=11">
                        <a href="ymsgr:sendim?the_death_dance_9999" target="_self"><p>Hỗ trợ tư vấn tại TP HCM</p></a>
                    </a>
                </div>
            </div>
            
            <div ID="HotProduct">
                <div ID="HotProduct_Image">
                    <img src="<?php echo base_url("public_source/images_source/boxtitle.png");?>">
                    <div ID="HotProduct_Title">
                        Sản phẩm bán chạy
                    </div>
                </div>
                <div ID="HotProduct_Border">
                    <div ID="HotProduct_Effect">
                        <MARQUEE style='margin-top: 10px; margin-bottom: 10px' direction="down" scrolldelay="20" SCROLLAMOUNT="2" height="360px" onmouseover="this.stop();" onmouseout="this.start();">                 
                            <table cellspacing='10px' id='HotProduct_Table' >
                                <?php
                                    foreach ($hot_product as $item)
                                    {
                                        echo '<tr>';
                                        echo '<td>';
                                        echo '<a href="'.site_url("home/infomationProduct/".$item->id).'"><img width="50px" height="40px" src="'.base_url($item->hinh).'"></a>';
                                        echo '</td>';
                                        echo '<td>';
                                        echo '<div class="Name_HotProduct"><a href="">'.($item->ten).'</a>';
                                        if ($item->fldStatus == 1)
                                            echo '<a href=""><img width="25px" height="15px" src="'.base_url("public_source/images_source/icon_km.gif").'"></a>';
                                        else
                                            echo '<a href=""><img width="25px" height="15px" src="'.base_url("public_source/images_source/icon_new.gif").'"></a>';
                                        echo '</div>';
                                        echo '<div class="Price_HotProduct">'.number_format($item->gia,0,'.','.').' VNĐ</div>';
                                        echo '</td>';
                                        echo '</tr>';
                                    }
                                ?>
                            </table>
                        </MARQUEE>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>